//
//  UIStandardArrowLabel.h
//  vhECGTools
//
//  Created by jia yu on 2022/6/29.
//

#import <UIKit/UIKit.h>


/*
 UIStandardArrowLabel *l = [[UIStandardArrowLabel alloc] initWithFrame:CGRectMake(100.f, 300.f, 300.f, 80.f)];
 l.style = UIStandardArrowLabel_Style_Qiao;
 l.bgWidth = 280.f;
 [self.view addSubview:l];
 */

typedef NS_ENUM(NSInteger, UIStandardArrowLabel_Style) {
    UIStandardArrowLabel_Style_Default = 0,  //四个角都是圆角
    UIStandardArrowLabel_Style_Qiao = 1      //左侧两个圆角，右侧直线
};

NS_ASSUME_NONNULL_BEGIN
@interface UIStandardArrowLabel : UIView
@property (nonatomic) UIStandardArrowLabel_Style style;
@property (nonatomic, readonly) UILabel *textLabel;
@property (nonatomic, nonnull) UIColor *bgColor;
@property (nonatomic) float bgWidth;
@property (nonatomic) float radius;
@end
NS_ASSUME_NONNULL_END
